package com.fas.system.websocket;

import java.io.Serializable;
import java.util.List;

public class PushData<T> implements Serializable {

    List<Integer> userList;
    private Integer pushType; //推送类型
    private T data;// 推送数据

    public PushData(Integer pushType, T data) {
        this.pushType = pushType;
        this.data = data;
    }

    public PushData() {
    }

    public List<Integer> getUserList() {
        return userList;
    }

    public void setUserList(List<Integer> userList) {
        this.userList = userList;
    }

    public Integer getPushType() {
        return pushType;
    }

    public void setPushType(Integer pushType) {
        this.pushType = pushType;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
